# $Id: PKGBUILD 81309 2012-12-17 10:05:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sander Jansen <sander@knology.net>

pkgname=gogglesmm
pkgver=0.12.7
pkgrel=1
pkgdesc="Music Manager and Player"
arch=('i686' 'x86_64')
url="http://code.google.com/p/gogglesmm/"
license=('GPL3')
install=gogglesmm.install
depends=('fox>=1.6.0' 'xine-lib>=1.0' 'sqlite>=3.4.0' 'taglib' 'dbus-core' 'curl' 'expat' 'libgcrypt')
makedepends=('pkgconfig' 'glproto' 'dri2proto' 'glu' 'mesa')
replaces=('musicmanager')
conflicts=('musicmanager')
source=(http://gogglesmm.googlecode.com/files/gogglesmm-$pkgver.tar.bz2)
md5sums=('9ca337ab496b57d79e66d0541c7da970')

build() {
  cd $srcdir/gogglesmm-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/gogglesmm-$pkgver
  mkdir -p $pkgdir/usr/bin
  make DESTDIR=$pkgdir install
}
